package com.sec.etech.ism.model;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("ism_task")
public class IsmTask implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId
    private Long id;
    /**
     * 系统编码
     */
    @TableField("sys_code")
    private String sysCode;
    /**
     * 服务编码
     */
    @TableField("service_code")
    private String serviceCode;
    /**
     * 方法名
     */
    @TableField("method_name")
    private String methodName;
    /**
     * 计划执行时间
     */
    @TableField("plan_time")
    private Date planTime;
    /**
     * 业务代码-方便业务查询
     */
    @TableField("business_code")
    private String businessCode;
    /**
     * 业务参数json
     */
    @TableField("business_params")
    private String businessParams;
    /**
     * 备注
     */
    private String remark;
    /**
     * 创建时间
     */
    @TableField(value="created_time", fill = FieldFill.INSERT)
    private Date createdTime;
    /**
     * 创建系统
     */
    @TableField(value="created_by", fill = FieldFill.INSERT)
    private String createdBy;
}
